package com.wxmp.wxcms.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wxmp.wxcms.domain.UserCalc;
import com.wxmp.wxcms.mapper.UserCalcMapper;
import com.wxmp.wxcms.service.UserCalcService;
@Service
public class UserCalcServiceImpl implements UserCalcService {
	
	@Autowired
	private UserCalcMapper userCalcMapper;
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return userCalcMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(UserCalc record) {
		return userCalcMapper.insert(record);
	}

	@Override
	public int insertSelective(UserCalc record) {
		return userCalcMapper.insertSelective(record);
	}

	@Override
	public UserCalc selectByPrimaryKey(Integer id) {
		return userCalcMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(UserCalc record) {
		return userCalcMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(UserCalc record) {
		return userCalcMapper.updateByPrimaryKey(record);
	}

	@Override
	public List<UserCalc> getUserClacListByPage(UserCalc searchEntity) {
		return userCalcMapper.getUserClacListByPage(searchEntity);
	}

}
